using Godot;
using System;

public partial class Changeses3 : Node2D
{[Export] AnimationPlayer animationPlayers;
    public override void _Ready()
    {
        animationPlayers.Play("new_animation");
        animationPlayers.AnimationFinished += animsfinsih;
    }
     void animsfinsih(StringName animationName)
    {
    GetTree().ChangeSceneToFile("res://assent/tscn/sanchangj.tscn");

    }
}
